package com.qbd.dao;

import java.util.List;
import java.util.Map;

import com.qbd.model.City;

public interface CityMapper {
    int deleteByPrimaryKey(String id);

    int insert(City record);

    int insertSelective(City record);

    City selectByPrimaryKey(String id);
    
    City selectByName(String name);
    
    City selectByNameAndPid(Map<String, Object> map);

    int updateByPrimaryKeySelective(City record);

    int updateByPrimaryKey(City record);
    
    Long getTotal(Map<String, Object> map);

	List<City> selectByPage(Map<String, Object> map);
	
	List<City> selectByPid(Map<String, Object> map);
}